﻿using Shiloh.Job.Common.Global;
using SqlSugar;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace Shiloh.Job.Api.Models
{
    public class IndividualRegsiterLoginRequest
    {
        [DisplayName("手机号"), Required(ErrorMessage =@"{0}不能为空"),RegularExpression(GlobalConstants.mbPhoneRegex,ErrorMessage = GlobalConstants.mbText)]
        public string Phone { get; set; }
        public string ValidCode { get; set; }
    }
}
